#!/bin/sh

echo INSTALANDO EIPBKP. AGUARDE UNOS INSTANTES...

chmod 755 eipbkp
mkdir /etc/eipbkp
mkdir /usr/local/share/eipbkp

cp -fp directories eipbkp.conf mysql postgresql samba /etc/eipbkp/

cp -fp directories eipbkp.conf /usr/local/share/eipbkp/eipbkp.conf.orig
cp -fp directories /usr/local/share/eipbkp/directories.orig
cp -fp mysql /usr/local/share/eipbkp/mysql.orig
cp -fp postgresql /usr/local/share/eipbkp/postgresql.orig
cp -fp samba /usr/local/share/eipbkp/samba.orig

cp -fp changes _dot_pgpass README /usr/local/share/eipbkp
cp -fp eipbkp /usr/local/sbin

clear
more /usr/local/share/eipbkp/README
